#ifndef STUFF_H
#define STUFF_H

// Sacado descaradamente de http://linux-sxs.org/programming/kbhit.html

#include <termios.h>

class keyboard
{
public:

      keyboard();
    ~keyboard();
    int kbhit();
    int getch();

private:

    struct termios initial_settings, new_settings;
    int peek_character;

};

// Fin del copypaste

int saldo = 200;
const int monto_transaccion = 100;
bool errores = false;
int contador[2];
char* nombre[2];
keyboard * kb;

void Transaccion(int id);
void ResetearContador(int id);



#endif